﻿using System.ComponentModel.DataAnnotations;

namespace WidgetsDesign.API.Models
{
    public class UserInfo
    {
        [Required]
        [Key]
        public int Id { get; set; }
        [Required]
        public Guid Uuid { get; set; }
        [Required]
        public string UserName { get; set; }
        [Required]
        public string UserEmail { get; set; }
        public string? PhoneNumber { get; set; }
        [Required]
        public string PassWord { get; set; }
        public string? UserAvatar { get; set; }
        public double Wallet { get; set; }
        [Required]
        public DateTime CreateTime { get; set; }
    }
}
